package com.issac.dto;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Date;

/**
 * @ClassName searchFormDto
 * @Author zy
 * @Date 2021/11/3 14:41
 * @Description 映射查询商品（水果）的条件
 * @Version 1.0
 */
public class SearchFormDto {

    private String searchGName;
    private String searchGLocality;
    private Double lowerPrice;
    private Double higherPrice;
    private Date startTime;
    private Date endTime;
    // 当前页码
    private Integer sP;
    // 每页容纳数据个数
    private Integer sPSize;

    public String getSearchGName() {
        return searchGName;
    }

    public void setSearchGName(String searchGName) {
        this.searchGName = searchGName;
    }

    public String getSearchGLocality() {
        return searchGLocality;
    }

    public void setSearchGLocality(String searchGLocality) {
        this.searchGLocality = searchGLocality;
    }

    public Double getLowerPrice() {
        return lowerPrice;
    }

    public void setLowerPrice(Double lowerPrice) {
        this.lowerPrice = lowerPrice;
    }

    public Double getHigherPrice() {
        return higherPrice;
    }

    public void setHigherPrice(Double higherPrice) {
        this.higherPrice = higherPrice;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getsP() {
        return sP;
    }

    public void setsP(Integer sP) {
        this.sP = sP;
    }

    public Integer getsPSize() {
        return sPSize;
    }

    public void setsPSize(Integer sPSize) {
        this.sPSize = sPSize;
    }
}
